package com.tarena.security.admin.service;

import com.tarena.security.admin.entity.db.Department;
import com.tarena.security.admin.entity.param.DepartmentParam;
import com.tarena.security.admin.entity.query.DepartmentQuery;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ly
 * @since 2023-04-10
 */
public interface IDepartmentService  {

    void addNewDepartment(DepartmentParam param);

    List<Department> getDepartmentList(DepartmentQuery query);

    void updateByID(DepartmentParam param);

    Department getDepartmentById(Integer id);

    void deleteDepartmentById(Integer[] id);
}
